// 全局方法挂载
import Vue from 'vue'
import permission from './directive/permission'
import { getDicts } from '@/api/system/dict/data'
import { getConfigValue } from '@/api/system/config'
import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from '@/utils/tduck'
import Process from '@/components/HandleProcess/process'

Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigValue = getConfigValue
Vue.prototype.parseTime = parseTime
Vue.prototype.resetForm = resetForm
Vue.prototype.addDateRange = addDateRange
Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.$process = Process
Vue.use(permission)
